<html>
<body>
Reports conditional expressions in which the condition is either a <code>true</code> or <code>false</code> constant.
These expressions sometimes occur as a result of automatic refactorings and may be simplified.
<p>Example:</p>
<pre><code>
  return true ? "Yes" : "No";
</code></pre>
<p>After quick-fix is applied:</p>
<pre><code>
  return "Yes";
</code></pre>
<!-- tooltip end -->
</body>
</html>